Skip to content

Conversation

michaeltintiuc
Copy link
Member

@michaeltintiuc michaeltintiuc commented Oct 11, 2022

This is the fourth step of refactoring:

  • We've moved the player health UI component outside of the Player component

The player's health was moved to global context as it's being used by multiple components, it will be further refactored in the future PRs. We've also created a separate component to render the player's health rather than having it in the player component. We've also updated our custom hooks so that we could position our sprites with CSS rather than DOM attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant